package com.kust.smarthome.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("用户信息")
public class UserDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private int id;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("头像路径")
    private String portrait;

}
